//擦除前
class MyArray<T>{
    public Object[] arrays = new Object[10];
    public T getPos(int pos){
        return (T)this.arrays[pos];
    }
    public void setVal(int pos,T val){
        this.arrays[pos] = val;
    }
}
//擦除后
class MyArray<T>{
    public Object[] arrays = new Object[10];
    public Object getPos(int pos){
        return this.arrays[pos];
    }
    public void setVal(int pos,T val){
        this.arrays[pos] = val;
    }
}

public class Main {
}
